package com.car.service;

import com.car.pojo.MaintenanceAppointment;
import com.car.pojo.MaintenanceAppointmentQueryParam;
import com.car.pojo.PageResult;

import java.util.List;

/**
 * 保养预约Service接口
 */
public interface MaintenanceAppointmentService {
    /**
     * 分页查询保养预约
     */
    PageResult<MaintenanceAppointment> page(MaintenanceAppointmentQueryParam param);
    
    /**
     * 根据ID查询保养预约详情
     */
    MaintenanceAppointment getInfo(Long id);
    
    /**
     * 更新预约状态
     */
    void updateStatus(Long id, String status);
    
    /**
     * 批量删除保养预约
     */
    void delete(List<Long> ids);
    
    /**
     * 查询所有保养预约（用于导出等）
     */
    List<MaintenanceAppointment> list(MaintenanceAppointmentQueryParam param);
}